
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li><a href="${Domain}my/address/list" >地址</a></li>
						  <#list list as item>
                            <li> <a href="${Domain}my/address/show/${item.id}?url=${url}">${item.name}</a></li> 
                           </#list>
						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf">
                               
						  地址
						  <#list list as item>
                            -${item.name}
                           </#list>
						  
							
							</div>

                            </div>
                            <div class="widget-body  am-fr">

                               
                                

                                <div class="am-u-sm-12">
                                
                                                       
                                <div class="am-scrollable-horizontal">
                                
                                
                                 <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">编号</th>
                                                <th>名称</th>
                                                <th>上级ID</th>
                                                <th>类型</th>
                                                <th>邮编 </th>
 												<th width="120px">操作 </th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list childrens as item>
                                            <tr >
                                                <td>${item.id?c}</td>
                                                <td>${item.name}</td>
                                                <td>
                                                <#if item.parent_id!=0>
                                                <a href="${Domain}my/address/show/${item.parent_id}?url=${url}">${item.parent_id}</a>
                                                </#if>
                                                </td>
                                                <td>
                                                <#switch item.type>												
												<#case 1>国级<#break>
												<#case 2>省级<#break>
												<#case 3>市级<#break>
												<#case 4>县级<#break>
												<#default>
												</#switch>
													
												</td>
                                                <td>${item.zip!}</td>
                                                <td> 
                                                <div class="tpl-table-black-operation">
                                                    	
                                                        <a href="${Domain}my/address/show/${item.id}?url=${url}">
                                                            <i class="am-icon-file-o"></i> 查看
                                                        </a>
                                                       
                                                       
                                                    </div>
                                                    </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </div>
                                </div>
                              
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
       
       
       
 </div>             
<#include "footer.ftl">